package com.maixun.lib_business_college.net

import com.maixun.lib_business_college.entity.QABeen
import com.maixun.lib_network.entity.NetBaseEntity
import com.maixun.lib_network.entity.NetBaseListBeen
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @author：Lmoumou
 * @date：2020/11/5
 */
const val DATA_SIZE = 20

interface QAApiService {

    /*问答列表*/
    @GET("qa/question/client-page")
    fun qaDataList(
        @Query("descCode") descCode: Int? = null,
        @Query("typeId") typeId: String? = null,
        @Query("title") title: String? = null,
        @Query("current") current: Int = 1,
        @Query("size") size: Int = DATA_SIZE
    ): Observable<NetBaseEntity<NetBaseListBeen<QABeen>>>
}